package com.kupurui.asteacher.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/24.
 */

public class SelKnowledgeInfo {
    /**
     * down : [{"id":124,"title":"第一章 简便运算","sort":1,"depth":1,"pid":20,"gr_id":5,"down":[]}]
     * up : {"total":3,"title":"五年级5升6暑假册"}
     */

    private UpBean up;
    private List<DownBean> down;

    public UpBean getUp() {
        return up;
    }

    public void setUp(UpBean up) {
        this.up = up;
    }

    public List<DownBean> getDown() {
        return down;
    }

    public void setDown(List<DownBean> down) {
        this.down = down;
    }

    public static class UpBean {
        /**
         * total : 3
         * title : 五年级5升6暑假册
         */

        private String total;
        private String title;

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class DownBean {
        /**
         * id : 124
         * title : 第一章 简便运算
         * sort : 1
         * depth : 1
         * pid : 20
         * gr_id : 5
         * down : []
         */

        private String id;
        private String title;
        private String pid;
        private String gr_id;
        private String count;
        private boolean isOpen;
        private List<DownBean> down;

        public boolean isOpen() {
            return isOpen;
        }

        public void setOpen(boolean open) {
            isOpen = open;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getGr_id() {
            return gr_id;
        }

        public void setGr_id(String gr_id) {
            this.gr_id = gr_id;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<DownBean> getDown() {
            return down;
        }

        public void setDown(List<DownBean> down) {
            this.down = down;
        }
    }
//    /**
//     * id : 124
//     * title : 第一章 简便运算
//     * sort : 1
//     * depth : 1
//     * pid : 20
//     * gr_id : 5
//     */
//
//    private String id;
//    private String title;
//    private String sort;
//    private String depth;
//    private String pid;
//    private String gr_id;
//    private String count;
//    private List<SelKnowledgeInfo> down;
//
//
//    public List<SelKnowledgeInfo> getDown() {
//        return down;
//    }
//
//    public void setDown(List<SelKnowledgeInfo> down) {
//        this.down = down;
//    }
//
//
//    public String getCount() {
//        return count;
//    }
//
//    public void setCount(String count) {
//        this.count = count;
//    }
//
//    public String getId() {
//        return id;
//    }
//
//    public void setId(String id) {
//        this.id = id;
//    }
//
//    public String getTitle() {
//        return title;
//    }
//
//    public void setTitle(String title) {
//        this.title = title;
//    }
//
//    public String getSort() {
//        return sort;
//    }
//
//    public void setSort(String sort) {
//        this.sort = sort;
//    }
//
//    public String getDepth() {
//        return depth;
//    }
//
//    public void setDepth(String depth) {
//        this.depth = depth;
//    }
//
//    public String getPid() {
//        return pid;
//    }
//
//    public void setPid(String pid) {
//        this.pid = pid;
//    }
//
//    public String getGr_id() {
//        return gr_id;
//    }
//
//    public void setGr_id(String gr_id) {
//        this.gr_id = gr_id;
//    }
//



}
